package com.ac.api.process_parameter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 生产工艺参数表
 * </p>
 *
 * @author dc
 * @since 2025-06-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ProcessParameter", description="生产工艺参数表")
public class ProcessParameter implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "参数记录ID")
    @TableId(value = "param_id", type = IdType.AUTO)
    private Integer paramId;

    @ApiModelProperty(value = "关联设备（外键）")
    private Integer equipmentId;
    @ApiModelProperty(value = "关联订单（外键）")
            private Integer orderId;
    @ApiModelProperty(value = "关联产线（外键）")
            private Integer lineId;
    @ApiModelProperty(value = "关联区（外键）")
    private Integer taskId;
    @ApiModelProperty(value = "参数值")
    private String paramValue;
    @ApiModelProperty(value = "工序")
    private String type;

    @ApiModelProperty(value = "记录时间")
    private LocalDateTime recordTime;


}
